extern crate rustc_serialize;
pub mod hook;

// enum for several hooks
#[derive(Clone, Copy, Debug)]
pub enum HookType {
    Bitbucket,
    Github,
    GitOSC,
}

#[cfg(test)]
mod hooktest {
    use super::HookType;

    #[test]
    fn show_type() {
        let mut hook_type: HookType = HookType::Bitbucket;
        println!("HookType: {:?}", hook_type);
        hook_type = HookType::Github;
        println!("HookType: {:?}", hook_type);
        hook_type = HookType::GitOSC;
        println!("HookType: {:?}", hook_type);
    }
}
